home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d13 / stistics.arc / REGRESS.DOC < prev    next >
Text File  |  1988-07-24  |  3KB  |  48 lines

  1.                       LINEAR REGRESSION (CORRELATION)
  2.  
  3. This  program  is designed to analyze correlation data and to  provide  you 
  4. with the numbers needed to construct the straight line which best fits  all 
  5. the  data.   Here is some sample data in the format in which it  should  be 
  6. typed  (NONDOCUMENT  mode  of WordStar) if you wish to enter  it  via  file 
  7. instead of directly from the keyboard.  The data represents the ability  of 
  8. liver slices from various ages of guinea pigs to congugate  phenolphthalein 
  9. with glucuronic acid.
  10.  
  11. X = age (days)  Y = mmoles conjugated  <---  Title, up to 65 characters
  12. 1   5.6                                <---  X value followed by Y value 
  13. 1   8.8                                <---  same
  14. 3   12                                 .
  15. 5   18                                 .
  16. 6   31                                 .
  17. 10  38                                 .
  18. 10  44                                 .
  19. 11  22                                 .
  20. 14  37                                 .
  21. 15  46                                 .
  22. 21  54                                 .
  23.  
  24. If  entering data directly from the keyboard, the first prompt will ask  if 
  25. you want the data sent to the printer or not.  Next, a title is entered for 
  26. the  data.   You are then prompted for the number of pairs of  points  that 
  27. will be entered.  The X values are then entered, followed by the Y  values.  
  28. Results  will  then be sent to the screen, or to the  screen  and  printer, 
  29. depending upon your answer to the first prompt.  A confidence interval  and 
  30. correlation  coefficient are also calculated.
  31.  
  32. The  best straight line can be plotted by using the coordinates of the  two 
  33. points output by the program.  This version of the program also  calculates 
  34. predictions.  There are provisions for entering any number of X values, one 
  35. by one, and the calculated Y values are printed out.  This predictive  part 
  36. of the program is fed with data from keyboard only, since it is expected to 
  37. be  most valuable after the basic data is calculated.  See the  example  on 
  38. the back of this sheet.
  39.  
  40. REFERENCE:  Goldstein,  A.   1964   Biostatistics:  An  Introductory  Text.  
  41.             Macmillan Company, New York.  Pages 135-146.
  42.  
  43. FORTRAN VERSION:  Dr. Stanley Kaplan  May 65
  44. BASIC VERSION:    Dr. Stanley Kaplan  Jul 81
  45. PASCAL VERSION:   Dr. Stanley Kaplan  Sep 85
  46. UPDATES:                              Oct 86 (Version 2.00)
  47.                                       Feb 87 (Version 2.10)
  48.                                       Feb 88 (MS-DOS Version 2.2)